package com.sun.module_category.net


/**
 *@author:sunc
 *@time :2025/7/30 15:59
 *@desc: 接口仓库层
 */
class HttpRepository {

    companion object {
        val instance: HttpRepository by lazy { HttpRepository() }
    }

    suspend fun getProjectCategory() =
        ApiService.getInstance().getProjectCategory()

    suspend fun getCategoryList(page: Int, cid: Int) =
        ApiService.getInstance().getCategoryList(page, cid)

}